package com.zcm.entity;

final public class commodity {
	private Integer comid;
	private String category;
	private String com_name;
	private double price;
	private String image;

	final public Integer getComid() {
		return comid;
	}

	 public void setComid(Integer comid) {
		this.comid = comid;
	}

	final public String getCategory() {
		return category;
	}

	final public void setCategory(String category) {
		this.category = category;
	}

	final public String getCom_name() {
		return com_name;
	}

	final public void setCom_name(String com_name) {
		this.com_name = com_name;
	}

	final public double getPrice() {
		return price;
	}

	final public void setPrice(double price) {
		this.price = price;
	}

	
	
	 public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}




	 public commodity(Integer comid, String category, String com_name, double price, String image) {
		super();
		this.comid = comid;
		this.category = category;
		this.com_name = com_name;
		this.price = price;
		this.image = image;
	}

	@Override
	public String toString() {
		return "commodity [comid=" + comid + ", category=" + category + ", com_name=" + com_name + ", price=" + price
				+ ", image=" + image + "]";
	}

	public commodity(){
		
	}
}
